package com.yunxi.market.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MarketActivityItemQueryReqVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private String itemId;

    @ApiModelProperty(value = "活动编号")
    private String activityCode;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "项目描述")
    private String itemDesc;

    @ApiModelProperty(value = "项目类型")
    private Integer itemType;

    @ApiModelProperty(value = "项目预估费用")
    private BigDecimal itemCost;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始时间")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "渠道商编码")
    private String partnerCode;

    @ApiModelProperty(value = "下发活动项编码")
    private String detailsId;


}
